package com.copa.module.order.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.copa.module.goods.domain.dto.GoodsInfoDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author copa
 * @createDate 2021-01-28 13:59
 * @function
 */
@Data
public class OrderDetailDto {

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "订单编号")
    private String orderSn;

    @ApiModelProperty(value = "订单状态：0未支付 1已支付未发货 2已发货 3用户取消 4商家取消（支付与未支付都一样）5已发货部分取消或退款 6已退款")
    private Integer orderStatus;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "手机号码")
    private String mobile;

    @ApiModelProperty(value = "收货人")
    private String consignee;

    @ApiModelProperty(value = "订单价格")
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "实际付款")
    private BigDecimal actualPrice;

    @ApiModelProperty(value = "快递公司")
    private String expressCompany;

    @ApiModelProperty(value = "快递单号")
    private String expressNum;

    @ApiModelProperty(value = "用户备注")
    private String userRemark;

    @ApiModelProperty(value = "商家备注")
    private String storeRemark;

    private List<OrderGoodsDetailDto> orderGoodsDetailDtoList;

    private List<OrderLogDto> orderLogDtoList;
}
